package com.woniu.his.sms.common;


import com.woniu.his.result.ResultCode;

public enum SmsResultCode implements ResultCode {

    DEMO_CODE(300, "DEMO_CODE 请删除"),
    DEPT_TYPE_NOT_EXIST(3001, "科室类型不存在"),
    REGISTRATION_RANK_USED(3008,"挂号等级正在被使用，不能删除"),
    DEPT_NOT_EXIST(3002, "科室不存在"),
    DEPT_TYPE_IS_EXIST(3003, "新增的科室类型已存在"),
    DEPT_NAME_IS_EXIST(3004, "新增的科室名已存在"),
    DEPT_CODE_IS_EXIST(3005, "新增的科室编码已存在"),
    ID_IS_WRONG(3006, "科室ID传入有误"),
    USERNAME_REPETITION(5007,"用户名重复"),
    REGISTRATION_DATE_ERROR(5001,"挂号日期大于等于当天"),
    LOGIN_RESULT_CODE(2003,"账号异常或者不存在"),
    LOGIN_PassSMS_RESULT_CODE(2004,"密码不正确"),
    TOKEN_RESULT_CODE(1009,"token不存在"),
    STAFF_DELETED(5008,"存在员工已删除"),
    SKD_NOT_EXITS(6011,"排班表不存在"),
    DOCTOR_IS_ABOUT_TO_WORK(6012,"员工排班中不能删除"),
    LOGIN_PASS_NAME_WRONG(6021,"账号或密码不正确"),
    SKD_NOT_MATCH(6022,"当天没有符合的医生"),
    DOCTOR_NOT_EXIST(6013,"员工不存在")
    ;

    private int code;
    private String message;

    private SmsResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
